#include <bits/stdc++.h>
using namespace std;
class dog{  
	private:
		string name;
		int age;
		bool sex;
	public:
		dog(string n, int a, bool s) : name(n), age(a), sex(s) {}
		void bark(){
			cout << name << "  say:汪！(年龄:" << age << ")" << endl;
			cout << "它是";
			sex == 0 ? cout << "小公狗" : cout << "小母狗" << endl;
		}
};
int main()
{
	dog mydog("死逼乐亮", 999999, 1);
	mydog.bark();
	return 0;
}